package cc.greencat.gcmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单项信息
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:56:27
 */
@TableName("order_item")
public class OrderItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * order_id
	 */
	private Long orderId;
	/**
	 * order_sn
	 */
	private String orderSn;
	/**
	 * spu_id
	 */
	private Long spuId;
	/**
	 * spu_name
	 */
	private String spuName;
	/**
	 * spu_pic
	 */
	private String spuPic;
	/**
	 * 品牌
	 */
	private String spuBrand;
	/**
	 * 商品分类id
	 */
	private Long categoryId;
	/**
	 * 商品sku编号
	 */
	private Long skuId;
	/**
	 * 商品sku名字
	 */
	private String skuName;
	/**
	 * 商品sku图片
	 */
	private String skuPic;
	/**
	 * 商品sku价格
	 */
	private BigDecimal skuPrice;
	/**
	 * 商品购买的数量
	 */
	private Integer skuQuantity;
	/**
	 * 商品销售属性组合（JSON）
	 */
	private String skuAttrsValues;
	/**
	 * 商品促销分解金额
	 */
	private BigDecimal promotionAmount;
	/**
	 * 优惠券优惠分解金额
	 */
	private BigDecimal couponAmount;
	/**
	 * 积分优惠分解金额
	 */
	private BigDecimal integrationAmount;
	/**
	 * 该商品经过优惠后的分解金额
	 */
	private BigDecimal realAmount;
	/**
	 * 赠送积分
	 */
	private Integer giftIntegration;
	/**
	 * 赠送成长值
	 */
	private Integer giftGrowth;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set order_id
	 */
    public void setOrderId(Long orderId){
        this.orderId = orderId;
    }
    /**
	 * get order_id
	 */
    public Long getOrderId(){
        return this.orderId;
    }
	/**
	 * set order_sn
	 */
    public void setOrderSn(String orderSn){
        this.orderSn = orderSn;
    }
    /**
	 * get order_sn
	 */
    public String getOrderSn(){
        return this.orderSn;
    }
	/**
	 * set spu_id
	 */
    public void setSpuId(Long spuId){
        this.spuId = spuId;
    }
    /**
	 * get spu_id
	 */
    public Long getSpuId(){
        return this.spuId;
    }
	/**
	 * set spu_name
	 */
    public void setSpuName(String spuName){
        this.spuName = spuName;
    }
    /**
	 * get spu_name
	 */
    public String getSpuName(){
        return this.spuName;
    }
	/**
	 * set spu_pic
	 */
    public void setSpuPic(String spuPic){
        this.spuPic = spuPic;
    }
    /**
	 * get spu_pic
	 */
    public String getSpuPic(){
        return this.spuPic;
    }
	/**
	 * set 品牌
	 */
    public void setSpuBrand(String spuBrand){
        this.spuBrand = spuBrand;
    }
    /**
	 * get 品牌
	 */
    public String getSpuBrand(){
        return this.spuBrand;
    }
	/**
	 * set 商品分类id
	 */
    public void setCategoryId(Long categoryId){
        this.categoryId = categoryId;
    }
    /**
	 * get 商品分类id
	 */
    public Long getCategoryId(){
        return this.categoryId;
    }
	/**
	 * set 商品sku编号
	 */
    public void setSkuId(Long skuId){
        this.skuId = skuId;
    }
    /**
	 * get 商品sku编号
	 */
    public Long getSkuId(){
        return this.skuId;
    }
	/**
	 * set 商品sku名字
	 */
    public void setSkuName(String skuName){
        this.skuName = skuName;
    }
    /**
	 * get 商品sku名字
	 */
    public String getSkuName(){
        return this.skuName;
    }
	/**
	 * set 商品sku图片
	 */
    public void setSkuPic(String skuPic){
        this.skuPic = skuPic;
    }
    /**
	 * get 商品sku图片
	 */
    public String getSkuPic(){
        return this.skuPic;
    }
	/**
	 * set 商品sku价格
	 */
    public void setSkuPrice(BigDecimal skuPrice){
        this.skuPrice = skuPrice;
    }
    /**
	 * get 商品sku价格
	 */
    public BigDecimal getSkuPrice(){
        return this.skuPrice;
    }
	/**
	 * set 商品购买的数量
	 */
    public void setSkuQuantity(Integer skuQuantity){
        this.skuQuantity = skuQuantity;
    }
    /**
	 * get 商品购买的数量
	 */
    public Integer getSkuQuantity(){
        return this.skuQuantity;
    }
	/**
	 * set 商品销售属性组合（JSON）
	 */
    public void setSkuAttrsValues(String skuAttrsValues){
        this.skuAttrsValues = skuAttrsValues;
    }
    /**
	 * get 商品销售属性组合（JSON）
	 */
    public String getSkuAttrsValues(){
        return this.skuAttrsValues;
    }
	/**
	 * set 商品促销分解金额
	 */
    public void setPromotionAmount(BigDecimal promotionAmount){
        this.promotionAmount = promotionAmount;
    }
    /**
	 * get 商品促销分解金额
	 */
    public BigDecimal getPromotionAmount(){
        return this.promotionAmount;
    }
	/**
	 * set 优惠券优惠分解金额
	 */
    public void setCouponAmount(BigDecimal couponAmount){
        this.couponAmount = couponAmount;
    }
    /**
	 * get 优惠券优惠分解金额
	 */
    public BigDecimal getCouponAmount(){
        return this.couponAmount;
    }
	/**
	 * set 积分优惠分解金额
	 */
    public void setIntegrationAmount(BigDecimal integrationAmount){
        this.integrationAmount = integrationAmount;
    }
    /**
	 * get 积分优惠分解金额
	 */
    public BigDecimal getIntegrationAmount(){
        return this.integrationAmount;
    }
	/**
	 * set 该商品经过优惠后的分解金额
	 */
    public void setRealAmount(BigDecimal realAmount){
        this.realAmount = realAmount;
    }
    /**
	 * get 该商品经过优惠后的分解金额
	 */
    public BigDecimal getRealAmount(){
        return this.realAmount;
    }
	/**
	 * set 赠送积分
	 */
    public void setGiftIntegration(Integer giftIntegration){
        this.giftIntegration = giftIntegration;
    }
    /**
	 * get 赠送积分
	 */
    public Integer getGiftIntegration(){
        return this.giftIntegration;
    }
	/**
	 * set 赠送成长值
	 */
    public void setGiftGrowth(Integer giftGrowth){
        this.giftGrowth = giftGrowth;
    }
    /**
	 * get 赠送成长值
	 */
    public Integer getGiftGrowth(){
        return this.giftGrowth;
    }

}
